﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Internal.Master" Inherits="System.Web.Mvc.ViewPage<BPM.Entity.MaterialDefinition>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    待审核物料
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptStyleContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table class="inputTable">
        <tbody>
            <tr>
                <th>
                    物料名称
                </th>
                <td>
                    <%= Model.Name %>
                </td>
            </tr>
            <tr>
                <th>
                    所属大类
                </th>
                <td>
                    <%= Model.Category.ParentCategory.Name %>
                </td>
            </tr>
            <tr>
                <th>
                    所属小类
                </th>
                <td>
                    <%= Model.Category.Name %>
                </td>
            </tr>
            <tr>
                <th>
                    品牌
                </th>
                <td>
                    <%= Model.Brand %>
                </td>
            </tr>
            <tr>
                <th>
                    识别条码
                </th>
                <td>
                    <%= Model.Barcode.Number %>
                </td>
            </tr>
            <tr>
                <th>
                    价格
                </th>
                <td>
                    <%= Model.Price %>
                </td>
            </tr>
            <tr>
                <th>
                    供应商名称
                </th>
                <td>
                    <%= Model.SupplierName %>
                </td>
            </tr>
            <tr>
                <th>
                    联系人
                </th>
                <td>
                    <%= Model.ContactName %>
                </td>
            </tr>
            <tr>
                <th>
                    联系电话
                </th>
                <td>
                    <%= Model.ContactPhone %>
                </td>
            </tr>
            <tr>
                <th>
                    其他联系方式
                </th>
                <td>
                    <%= Model.OtherContact %>
                </td>
            </tr>
            <tr>
                <th>
                    供货周期
                </th>
                <td>
                    <%= Model.DeliveryPeriod %>&nbsp;<%= Model.DeliverPeriodUnit %>
                </td>
            </tr>
            <tr>
                <th>
                    付款方式
                </th>
                <td>
                    <%= Model.PaymentMode %>
                </td>
            </tr>
            <tr>
                <th>
                    备注
                </th>
                <td>
                    <%= Model.Remark %>
                </td>
            </tr>
        </tbody>
    </table>
    <p>
        <%= Html.ActionLink("通过", BPM.AD.Singleton.MaterialManagement.ApprovePendingMaterial, new { id = Model.Id})%>
        <%= Html.ActionLink("删除", BPM.AD.Singleton.MaterialManagement.DeletePendingMaterial, new { id = Model.Id})%>
        <%= Html.ActionLink("返回", BPM.AD.Singleton.MaterialManagement.ViewPendingMaterialList) %>
    </p>
</asp:Content>
